
<%@ page import="com.plan.ConstructionReportDetail" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'constructionReportDetail.label', default: 'ConstructionReportDetail')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-constructionReportDetail" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
                <li><g:link class="list" controller="constructionReport" action="edit" params="[id:params?.parentId]"><g:message code="goBackConstructionReport.label" default="goBackConstructionReport" /></g:link></li>
                <li><g:link class="create" controller="constructionReportDetail" action="create" params="[parentId:params?.parentId]"  action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
            </ul>
		</div>
		<div id="show-constructionReportDetail" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<div class="splitcontentleft">
			<ol class="property-list constructionReportDetail">
			
				<g:if test="${constructionReportDetailInstance?.quantitiesName}">
				<li class="fieldcontain">
					<span id="quantitiesName-label" class="property-label"><g:message code="constructionReportDetail.quantitiesName.label" default="Quantities Name" /></span>
					
						<span class="property-value" aria-labelledby="quantitiesName-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="quantitiesName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.subProject}">
				<li class="fieldcontain">
					<span id="subProject-label" class="property-label"><g:message code="constructionReportDetail.subProject.label" default="Sub Project" /></span>
					
						<span class="property-value" aria-labelledby="subProject-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="subProject"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.elevation}">
				<li class="fieldcontain">
					<span id="elevation-label" class="property-label"><g:message code="constructionReportDetail.elevation.label" default="Elevation" /></span>
					
						<span class="property-value" aria-labelledby="elevation-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="elevation"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.system}">
				<li class="fieldcontain">
					<span id="system-label" class="property-label"><g:message code="constructionReportDetail.system.label" default="System" /></span>
					
						<span class="property-value" aria-labelledby="system-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="system"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.room}">
				<li class="fieldcontain">
					<span id="room-label" class="property-label"><g:message code="constructionReportDetail.room.label" default="Room" /></span>
					
						<span class="property-value" aria-labelledby="room-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="room"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.drawing}">
				<li class="fieldcontain">
					<span id="drawing-label" class="property-label"><g:message code="constructionReportDetail.drawing.label" default="Drawing" /></span>
					
						<span class="property-value" aria-labelledby="drawing-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="drawing"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.spec}">
				<li class="fieldcontain">
					<span id="spec-label" class="property-label"><g:message code="constructionReportDetail.spec.label" default="Spec" /></span>
					
						<span class="property-value" aria-labelledby="spec-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="spec"/></span>
					
				</li>
				</g:if>
			</ol>
			</div>
		<div class="splitcontentright">
			<ol class="property-list constructionReportDetail">
				<g:if test="${constructionReportDetailInstance?.installMethod}">
				<li class="fieldcontain">
					<span id="installMethod-label" class="property-label"><g:message code="constructionReportDetail.installMethod.label" default="Install Method" /></span>
					
						<span class="property-value" aria-labelledby="installMethod-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="installMethod"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.material}">
				<li class="fieldcontain">
					<span id="material-label" class="property-label"><g:message code="constructionReportDetail.material.label" default="Material" /></span>
					
						<span class="property-value" aria-labelledby="material-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="material"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.unit}">
				<li class="fieldcontain">
					<span id="unit-label" class="property-label"><g:message code="constructionReportDetail.unit.label" default="Unit" /></span>
					
						<span class="property-value" aria-labelledby="unit-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="unit"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.sum}">
				<li class="fieldcontain">
					<span id="sum-label" class="property-label"><g:message code="constructionReportDetail.sum.label" default="Sum" /></span>
					
						<span class="property-value" aria-labelledby="sum-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="sum"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.team}">
				<li class="fieldcontain">
					<span id="team-label" class="property-label"><g:message code="constructionReportDetail.team.label" default="Team" /></span>
					
						<span class="property-value" aria-labelledby="team-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="team"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.remark}">
				<li class="fieldcontain">
					<span id="remark-label" class="property-label"><g:message code="constructionReportDetail.remark.label" default="Remark" /></span>
					
						<span class="property-value" aria-labelledby="remark-label"><g:fieldValue bean="${constructionReportDetailInstance}" field="remark"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${constructionReportDetailInstance?.parent}">
				<li class="fieldcontain">
					<span id="parent-label" class="property-label"><g:message code="constructionReportDetail.parent.label" default="Parent" /></span>
					
						<span class="property-value" aria-labelledby="parent-label"><g:link controller="constructionReport" action="show" id="${constructionReportDetailInstance?.parent?.id}">${constructionReportDetailInstance?.parent?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			</ol>
		</div>
		<div class="clear"></div>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${constructionReportDetailInstance?.id}" />
					<g:link class="edit" action="edit" id="${constructionReportDetailInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
